package com.nengchuan.eic.nceconomy.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 校验结果表
 * </p>
 *
 * @author luoping
 * @since 2020-04-23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("nc_verify_result")
@ApiModel(value="VerifyResult对象", description="校验结果表")
public class VerifyResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "excel校验ID")
    private Long excelVerifyId;

    @ApiModelProperty(value = "检查类型 1-sheet校验 2-内容校验")
    private Integer checkType;

    @ApiModelProperty(value = "模板sheet名称")
    private String templateSheetName;

    @ApiModelProperty(value = "excel名")
    private String excelName;

    @ApiModelProperty(value = "sheet名称")
    private String sheetName;

    @ApiModelProperty(value = "行坐标")
    private Integer lineNum;

    @ApiModelProperty(value = "列坐标")
    private Integer rowNum;

    @ApiModelProperty(value = "错误类型  -1缺失sheetName 2表一二为空sheet页")
    private Integer errorType;


    @ApiModelProperty(value = "错误信息")
    private String errorMsg;

    @ApiModelProperty(value = "模板序号")
    private String templateSerialNum;

    @ApiModelProperty(value = "模板内容")
    private String templateVal;

    @ApiModelProperty(value = "用户excel序号")
    private String excelSerialNum;

    @ApiModelProperty(value = "用户excel内容")
    private String excelVal;

    @ApiModelProperty(value = "状态 1-确认 2-未确认")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人id")
    @TableField(fill = FieldFill.INSERT)
    private Long createId;

    @ApiModelProperty(value = "创建人姓名")
    @TableField(fill = FieldFill.INSERT)
    private String createName;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;

    @ApiModelProperty(value = "修改人id")
    @TableField(fill = FieldFill.UPDATE)
    private Long modifyId;

    @ApiModelProperty(value = "修改人姓名")
    @TableField(fill = FieldFill.UPDATE)
    private String modifyName;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private Long modifyTime;


}
